fix: preserve negation prefix when resolving config patterns#200
fix: preserve negation prefix when resolving config patterns#200geeee wants to merge 1 commit intotolgee:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThe pull request adds support for negated patterns in Tolgee configuration files. When patterns prefixed with "!" are encountered, the leading negation character is now detected and preserved through the path resolution process, enabling exclusion patterns to function correctly alongside inclusion patterns. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Negation glob patterns (e.g.
!./src/excluded.tsx) in.tolgeercconfig were broken -resolve()included the!as part of the path, producing/abs/path/!./src/excluded.tsxinstead of!/abs/path/src/excluded.tsxSummary by CodeRabbit